import 'package:flutter_getx/app/modules/campus/campus/controllers/campus_controller.dart';
import 'package:flutter_getx/app/modules/msg_list/controllers/msglist_controller.dart';
import 'package:flutter_getx/app/service/local_storage_service.dart';
import 'package:flutter_getx/app/service/message_service.dart';
import 'package:flutter_getx/app/service/user_info_service.dart';
import 'package:get/get.dart';

import '../../../service/db_service.dart';
import '../../me/me/controllers/me_controller.dart';
import '../controllers/home_controller.dart';

class HomeBinding extends Bindings {
  @override
  void dependencies() {
    Get.lazyPut<HomeController>(
      () => HomeController(),
    );
    Get.lazyPut<MsgListController>(
      () => MsgListController(),
    );
    Get.lazyPut<CampusController>(
      () => CampusController(),
    );
    Get.lazyPut<MeController>(
      () => MeController(),
    );
    Get.lazyPut<UserInfoService>(
      () => UserInfoService(),
    );
    Get.lazyPut<LocalStorageService>(
      () => LocalStorageService(),
    );
    Get.lazyPut<DBService>(
      () => DBService(),
    );
    Get.lazyPut<MessageService>(
          () => MessageService(),
    );
  }
}
